#pragma once

#include "Misc/CommonMacros.h"
#include "Widgets/Positioners/HorizontalPositionerWidget.h"
#include "Widgets/RectangleWidget.h"
#include "Containers/Delegate.h"
#include "WindowButtons.m.h"

RCLASS()
class WHENGINE_API RWindowButtons : public RHorizontalPositionerWidget
{
    ROBJECT

    RWindowButtons();

    //invoked before close
    //if return false, close will be canceled
    TDelegate<bool> PreClose;
};





